*{
    margin:0;
    padding:0;
}
li{
    list-style:none;
}
a{
    color:#000;
    text-decoration: none;
}
.head{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head .menus,
.head .menu_list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.head .menu_list .menu_item{
    font-size: 14px;
    padding: 20px 15px;
    position: relative;
}
.head .menu_list .menu_item::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 20px;
    transition: 0.5s;
}
.head .menu_list .menu_item:hover::after,
.head .menu_list .m_active::after{
    background-image: url('./images/b_line.svg');
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.search_btn{
    border: none;
    background: transparent;
}
.more_menu{
    background: #F89320;
    padding: 20px 15px;
}
.banner{
    height: 400px;
    position: relative;
}
.banner .bg_img{
    height: 100%;
    width: 100%;
    object-fit: cover;
   
}
.banner_text,
.banner_navigation{
    position: absolute;
}
.banner_text{
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
}
.banner_text h1{
    font-size: 40px;
}
.banner_text p{
    font-size: 20px ;
    margin-top: 5px;
}
.banner_navigation{
    bottom: 5%;
    right: 5%;
   
}
.banner_navigation a{
    color: #fff;
    font-size: 14px;
}
.categorys{
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
}
.categorys .cate_list{
    display: flex;
    align-items: center;
    gap: 10px;
}
.categorys .cate_list .cate_item{
    padding: 10px;
}
.categorys .cate_list .cate_item .icon{
    height: 30px;
    height: 30px;
    background-image: url('./images/product.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.categorys .cate_list .cate_item .name{
    font-size: 14px;
    text-align: center;
}
.categorys .cate_list .cate_item.active .icon{
    background-image: url('./images/product_sec.svg');
}
.categorys .cate_list .cate_item.active .name {
    color: #8CC63E;
}
.arrow_left,.arrow_right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.arrow_left{
    left: -40px;
}
.arrow_right{
    right: -40px;
}
.product{
    max-width: 1240px;
    margin: auto;
    display: flex;
    gap: 20px;
}
.product_left{
    border-radius: 10px;
    overflow: hidden;
}
.product_left .cate_head{
    padding: 10px 25px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    background: #8CC63E;
}
.cate_title{
    color: #fff;
}
.cate_title h1{
    font-size: 20px;
}
.cate_title p{
    font-size: 14px;
    margin-top: 5px;
}
.category_list{
    border: 1px solid #ccc;
    border-radius: 0 0 10px 10px;
}
.category_list .category_item{
    border-top: 1px solid #ccc;
    padding: 10px 20px;
}
.category_list .category_item:first-child{
    border-top:0
}
.category_list .category_item a{
   display: flex;
   align-items: center;
   gap: 10px;
}
.category_list .category_item .line{
    width: 20px;
    height: 2px;
    background: #ccc;
    border-radius: 10px;
}
.category_list .category_item .categorys_name{
    color: #666;
}
.category_list .category_item.a_active .line{
    background: #F8931F;
}
.category_list .category_item.a_active .categorys_name{
    color: #F8931F;
}
.product_right{
    flex:1;
}
.product_right .p_cate_box .p_cate_subtitle{
    margin: 5px 0;
    color: #8CC63E;
}
.product_right .p_cate_box .p_cate_intro{
    font-size: 15px ;
    color: #666;
    margin-top: 15px;
}
.product_list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}
.product_item{
    border: 1px solid #8AC73E;
    border-radius: 10px;
    overflow: hidden;
    width: calc(100% / 3 - 40px); ;
    transition: 0.5s;
}
.product_item .p_img{
    width: 100%;
    height: 300px;
}
.product_item .p_title{
    text-align: center;
    padding: 10px 0;
    color: #fff;
    background: #8AC73E;
   transition: 0.5s;
}
.product_item:hover{
    border-color: #F8931F;
}
.product_item:hover .p_title{
    background: #F8931F;
}
.pagination,.pagination_list{
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 20px 0 ;
}
.pagination>a,
.pagination .pagination_item { 
    display: block;
    background: #eee;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
}
.pagination_list{
    margin: 0;
}
.pagination>a:hover,
.pagination_item.active,
.pagination_item:hover{
    background: #F8931F;
    color: #fff;
}
footer{
    background: #FAFDF2;
    padding: 20px 0;
}
footer .footer{
    max-width: 1240px;
    margin: 0 auto;
   
}
footer .footer .footer_top{
    display: flex;
    justify-content: space-between;
}
.footer_cont{
    width: 400px;
}
.footer_cont_title{
    font-size: 20px;
}
.footer_cont_item{
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 5px;
}
.footer_cont_item p{
    font-size: 14px;
    color: #666;
}
.footer_ul{
    /* display: flex; */
    flex: 1;
}
.footer_li{
    float: left;
    padding: 0 20px;
}
.footer_li:last-child{
    float: right;
}
.footer_li img{
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.footer_li:last-child p{
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}
.footer_list {
    margin-top: 10px;
}
.footer_list .footer_item{
    font-size: 14px;
    margin-bottom: 5px;
}
.footer_list .footer_item a{
    color: #666;
}
.footer .copyright{
    font-size: 14px ;
    color: #666;
}
.gotop{
    position: fixed;
    bottom: 10%;
    right: 5%;
    width: 40px;
    height: 40px;
    background: #F8931F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}